<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<link href="<?=base_url("templates/default")?>/css/index.css" rel="stylesheet" type="text/css" />
		<script src="<?=base_url("templates/default")?>/js/jquery.min.js"></script>
		<script src="<?=base_url("templates/default")?>/js/slider.js"></script>
		<script src="<?=base_url("templates/default")?>/js/YuxiSlider.jQuery.min.js"></script>
		<!--[if lt IE 9]-->
		<script src="<?=base_url("templates/default")?>/js/html5.js"></script>
		<!--[endif]-->
		<title></title>
	</head>

	<body>
		<?php $this->load->view('header')?>
		<div class="poster">
			<a class="control prev"></a>
			<a class="control next abs"></a>
			<!--自定义按钮，移动端可不写-->
			<div class="slider">
				<!--主体结构，请用此类名调用插件，此类名可自定义-->
				<ul>
					<?php
						$tmpCode="";
						if(sizeof($focus)!=0){
						foreach($focus as $key=>$value){
							$tmpCode.='<li><img src="attachments/'.$focus[$key]["focus"].'" title="'.$focus[$key]["title"].'"/></li>';						
							}
							echo $tmpCode;
						}
					?>
				</ul>
				
			</div>
		</div>

		<script src="<?=base_url("templates/default")?>/js/js1.js">
			
		</script>
		<div class="news_notice">
			<div class="news_notice_news">
				<div class="news_title_pic_data">
					<?php
						$tmpCode="";
						if(sizeof($zxyw)!=0){
							$tmpCode.='<div class="news_title_pic">';
							if(!empty($zxyw[0]["focus"]))$tmpCode.='<img src="attachments/'.$zxyw[0]["focus"].'" />';
							else $tmpCode.='暂无图片';
							$tmpCode.='</div>';
							$tmpCode.='<span class="title">'.$zxyw[0]["title"].'</span>';
							$tmpCode.='<span class="date">'.date("Y-m-d",$zxyw[0]["create_time"]).'</span>';
						}else{
							$tmpCode.="暂无新闻";
						}
						echo $tmpCode;
					?>
					
					
				</div>
				<div class="news_notice_abstruct">
					<p>&nbsp;&nbsp;<?=(sizeof($zxyw)!=0)?mb_substr($zxyw[0]["content"],0,90,'utf-8'):""?></p>
				</div>
			</div>
			<div class="news_notice_news">
				<div class="news_title_pic_data">
					<?php
						$tmpCode="";
						if(sizeof($zxyw)==2){
							$tmpCode.='<div class="news_title_pic">';
							if(!empty($zxyw[1]["focus"]))$tmpCode.='<img src="attachments/'.$zxyw[1]["focus"].'" />';
							else $tmpCode.='暂无图片';
							$tmpCode.='</div>';
							$tmpCode.='<span class="title">'.$zxyw[1]["title"].'</span>';
							$tmpCode.='<span class="date">'.date("Y-m-d",$zxyw[1]["create_time"]).'</span>';
						}else if(sizeof($zxyw)==1){
							$tmpCode.='<div class="news_title_pic">';
							if(!empty($zxyw[0]["focus"]))$tmpCode.='<img src="attachments/'.$zxyw[0]["focus"].'" />';
							else $tmpCode.='暂无图片';
							$tmpCode.='</div>';
							$tmpCode.='<span class="title">'.$zxyw[0]["title"].'</span>';
							$tmpCode.='<span class="date">'.date("Y-m-d",$zxyw[0]["create_time"]).'</span>';
						}else{
							$tmpCode.="暂无新闻";
						}
						echo $tmpCode;
					?>
				</div>
				<div class="news_notice_abstruct">
					<p>&nbsp;&nbsp;<?=(sizeof($zxyw)==2)?mb_substr($zxyw[1]["content"],0,90,'utf-8'):((sizeof($zxyw)==1)?mb_substr($zxyw[0]["content"],0,90,'utf-8'):"")?></p>;
				</div>
				<a href="<?=base_url("category/?id=12")?>"><?=(sizeof($zxyw)>=2)?"更多》":""?></a>
			</div>
			<div class="news_notice_notice">
				<ul>
					<?php
							$tmpCode="";
							if(sizeof($tzgg)!=0){
								foreach($tzgg as $key=>$value){
									$tmpCode.='<li><span class="span_date"><span class="span_date_year">'.date("Y",$tzgg[$key]["create_time"]).'</span><span class="span_date_mouth">'.date("m-d",$tzgg[$key]["create_time"]).'</span></span>
												<a href="#">'.mb_substr($tzgg[$key]["title"],0,24,'utf-8').'</a></li>';
								}
							}else{
								$tmpCode.='<li>暂无公告</li>';
							}
							echo $tmpCode;
					?>
				</ul>
				<a href="<?=base_url("category/?id=26")?>" class="news_notice_notice_more"><?=(sizeof($tzgg)>=5)?"更多》":""?></a>
			</div>
		</div>
		<div class="keyanchengguo">
			<div class="keyanchengguo_deco">
				<span class="keyanchengguo_span">科研成果</span>
				<div class="keyanchengguo_line"></div>
			</div>
			<div class="apparatus">
				<div class="hd">
					<a class="prev" href="javascript:void(0)"><img src="<?=base_url("templates/default")?>/img/left.jpg" /></a>
					<a class="next" href="javascript:void(0)"><img src="<?=base_url("templates/default")?>/img/right.jpg" /></a>
				</div>
				<div class="bd">
					<ul class="picList">
						<?php
							$tmpCode="";
							if(sizeof($achieve)!=0){
								foreach($achieve as $key=>$value){
									$tmpCode.='
									<li>
									<div class="pic">
									<a href="#">';
										if(!empty($achieve[$key]["pic"])){
										$tmpCode.='<img src="attachments/'.$achieve[$key]["pic"].'" />';
										}
									$tmpCode.='</a></div>
									<p>
									<a href="#">'.$achieve[$key]["name"].'</a>
									</p>
									</li>	
									';
								}
								echo $tmpCode;
							}
							?>
					</ul>
				</div>
			</div>
			<script type="text/javascript" src="<?=base_url("templates/default")?>/js/js2.js">
				
			</script>
		</div>
		<div class="friendly_link_background">
			</div>
		<div class="friendly_link_block">
			
			<div class="friendly_link_and_call">
				<div class="friendly_link">
					<div class="friendly_link_height">
						<h2>友情链接</h2>
						<br />
						<?php
							$tmpCode="";
							if(sizeof($Links)!=0){
								foreach($Links as $key=>$value){
									$tmpCode.='<a target="blank" href="'.$Links[$key]["links_url"].'">'.$Links[$key]["links_name"].'</a>';
								}
								echo $tmpCode;
							}
						?>
					</div>
				</div>
				<div class="call_us">
					<h2>联系我们</h2>
					<br />
					<p>地址（Address）：中国江西省景德镇市陶阳南路景德镇陶瓷大学内</p>
					<p>邮编（P.C.）：333001</p>
					<p>联系电话（Tell）：（+86）798-8499328</p>
					<p>传真（Fax）：（+86）798-8499328</p>
					<p>邮箱（E-mail）：GCGCZX@126.com</p>
				</div>
			</div>
		</div>
		<?php $this->load->view('footer');?>
	</body>

</html>